﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using enqueteJwVd.DAL;
using enqueteJwVd.Services;

namespace enqueteJwVd.Services
{
    public class CheckBoxOptionService : ICheckBoxOptionService
    {
        private UnitOfWork unitOfWork;

        public CheckBoxOptionService()
        {
            unitOfWork = new UnitOfWork();
        }

        #region ICheckBoxOption Members
        public List<CheckBoxOptions> GetAllCheckBoxOptions()
        {
            
            return unitOfWork.CheckBoxOptionRepository.GetAll().ToList<CheckBoxOptions>();
        }
        #endregion

    }
}